package com.tjcd.project.library_base.base.easyhttpnet;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestServer;
import com.hjq.http.model.RequestBodyType;

/**
 * @Author jiangKunKun
 * @CreateDate 2024/9/27
 * @Description 服务器配置
 * @SpittingGrooves
 */
public class RequestServer implements IRequestServer {

    @NonNull
    @Override
    public String getHost() {
        return "http://192.168.9.31:8080/";
    }

    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }
}
